package com.thor.palmmall.rest.order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.thor.commons.exception.ThorServiceException;

/**
 * 
 * 促销相关接口
 * 
 * @author vergar
 * 
 */
@Path("/esc")
@Produces(MediaType.APPLICATION_JSON + "; charset=utf-8")
@Consumes(MediaType.APPLICATION_JSON + "; charset=utf-8")
public interface AProductPromService {

  /**
   * 批量促销商品列表
   * 
   * @param condition
   * @return
   * @throws ThorServiceException
   */
  @POST
  @Path("/prom/query")
  AProductProm3 getProductProms(AProductPromParamFilter contracts) throws ThorServiceException;
}
